//
//  THJOpenHjbView.m
//  THJXHW
//
//  Created by 河南德艺 on 17/5/3.
//  Copyright © 2017年 河南德艺. All rights reserved.
//
#import "THJOpenHjbView.h"

@implementation THJOpenHjbView

+(THJOpenHjbView*)instancView{
    NSArray* nibView =  [[NSBundle mainBundle] loadNibNamed:@"THjOpenHjbView" owner:nil options:nil];
    return [nibView objectAtIndex:0];
}
- (IBAction)kaitongClicked:(id)sender {
    NSString * str=@"telprompt://400-999-6014";
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
}
- (IBAction)cancelBtnClicked:(id)sender {
    [UIView animateWithDuration:0.2 animations:^{
        self.mainView.transform = CGAffineTransformMakeScale(0.01, 0.01);
    } completion:^(BOOL finished) {
        [self removeFromSuperview];
    }];
    //[self removeFromSuperview];
}
@end
